[.config_load file="../../config/emmm.conf".]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>[.$emmm_adminfont.admintitle.]</title>
<link href="templates/images/emmm_login.css" rel="stylesheet" type="text/css"> 
[.#jq172#.]
<script charset="utf-8" src="templates/images/emmm.js"></script>
<script src="../../function/plugs/layer/layer.min.js"></script>
</head>

<body>
<div style="height:50px;"></div>
<div style="clear:both"></div>
<div id="tabs0">
 <ul class="menu0" id="menu0">
  <li><a href="emmm_coupon.php">优惠券列表</a></li>
  <li class="hover">领取列表</li>
 </ul>
 <div class="main" id="main0" style="border-top:2px #488fcd solid; clear:both;">
  <ul class="block">
	  <li>
		<div class="emmm_newslist">
		        <table width="100%" border="0" cellpadding="10" class="emmm_newslist">
                  <tr>
				  	<td width="5%" bgcolor="#EBEBEB"><div align="center">ID</div></td>
                    <td width="27%" bgcolor="#EBEBEB">关联优惠券</td>
                    <td width="15%" bgcolor="#EBEBEB">领取会员账号</td>
                    <td width="10%" bgcolor="#EBEBEB">是否使用</td>
                    <td width="15%" bgcolor="#EBEBEB">领取时间</td>
                    <td width="24%" bgcolor="#EBEBEB">校验</td>
                    <td width="4%" bgcolor="#EBEBEB">操作</td>
                  </tr>
				  [.section loop=$coupon name=op.]
                  <tr>
				  	<td><div align="center"><font style="background:#009933; color:#FFFFFF; padding:2px; text-align:center;">[.$coupon[op].id.]</font></div></td>
                    <td>[.$coupon[op].classid.]</td>
                    <td>[.$coupon[op].username.]</td>
                    <td>[.if $coupon[op].type == 0.]未用[.else.]<p>已用</p><p>[.$coupon[op].timewin.]</p>[./if.]</td>
                    <td>[.$coupon[op].time.]</td>
                    <td>[.$coupon[op].md.]</td>
                    <td><a href="?emmm_cms=del&id=[.$coupon[op].id.]" onclick="javascript:return confirm('确认删除吗?')">删除</a></td>
				  </tr>
				  [.sectionelse.]
				  <tr>
                    <td colspan="8">[.$emmm_access.]</td>
                  </tr>
				  [./section.]
                  <tr>
                    <td colspan="8">[.$emmmpage.]</td>
                  </tr>
                </table>
        </div>
	  </li>
  </ul>
  

 </div>
</div>
[.include file="emmm_foot.html".]
</body>
</html>